<%--
  Created by IntelliJ IDEA.
  User: hasee
  Date: 2021/11/14
  Time: 19:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改密码</title>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/table.css">
    <style type="text/css">
        body {
            background-image: url("${pageContext.request.contextPath}/images/background.jpeg");
            background-size: 100%, 100%;
        }
    </style>
</head>
<body>
<header style="height: 40px">
    <%@ include file="../common/teacherHead.jsp" %>
</header>
<form name="teacherChangePassword" method="post" action="${pageContext.request.contextPath}/teacherChangePassword.do">
    <table class="table">
        <tr>
            <td>
                <label>旧的密码：<input type="password" name="teacherOldPassword"></label>
                <p>${requestScope.error}</p>
            </td>
        </tr>
        <tr>
            <td>
                <label>新的密码：<input type="password" name="teacherNewPassword"></label>
            </td>
        </tr>
        <tr>
            <td>
                <label>确认密码：<input type="password" name="teacherConfirmPassword"></label>
                <p>${requestScope.confirm}</p>
            </td>
        </tr>
        <tr>
            <td>
                <label><input id="changePassword" type="submit" value="确认修改"></label>
                <p>${requestScope.success}</p>
            </td>
        </tr>
    </table>
</form>
<footer style="height: 30px">
    <%@ include file="../common/foot.jsp" %>
</footer>
</body>
</html>
